Synthesis of Memory Fences via Refinement Propagation

نویسندگان

  • Yuri Meshman
  • Andrei Marian Dan
  • Martin T. Vechev
  • Eran Yahav
چکیده

We address the problem of fence inference in infinite-state concurrent programs running on relaxed memory models such as TSO and PSO. We present a novel algorithm that can automatically synthesize the necessary fences for infinite-state programs. Our technique is based on two main ideas: (i) verification with numerical domains: we reduce verification under relaxed models to verification under sequential consistency using integer and boolean variables. This enables us to combine abstraction refinement over booleans with powerful numerical abstractions over the integers. (ii) synthesis with refinement propagation: to synthesize fences for a program P , we combine abstraction refinements used for successful synthesis of programs coarser than P into a new candidate abstraction for P . This “proof reuse” approach dramatically reduces the time required to discover a proof for P . We implemented our technique and successfully applied it to several challenging concurrent algorithms, including state of the art concurrent work-stealing queues.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Brief Announcement: Fence Insertion for Straight-line Programs is in P

Relaxed memory models reorder instructions in the interest of performance. However, reordering of instructions can jeopardize correctness and memory fences should be used to preserve speci€c orders. Programs that carry explicit fences are over-speci€ed as they are tied to speci€c architectures and memory models and are hence unportable. On the other hand, once the program speci€es the high-leve...

متن کامل

Memory abstractions for parallel programming

A memory abstraction is an abstraction layer between the program execution and the memory that provides a different “view” of a memory location depending on the execution context in which the memory access is made. Properly designed memory abstractions help ease the task of parallel programming by mitigating the complexity of synchronization or admitting more efficient use of resources. This di...

متن کامل

Property-Driven Fence Insertion Using Reorder Bounded Model Checking

Modern architectures provide weaker memory consistency guarantees than sequential consistency. These weaker guarantees allow programs to exhibit behaviours where the program statements appear to have executed out of program order. Fortunately, modern architectures provide memory barriers (fences) to enforce the program order between a pair of statements if needed. Due to the intricate semantics...

متن کامل

Synthesis of Al2O3-ZrO2 Nanocomposite by Mechanical Activated Self-propagating High Temperature Synthesis(MASHS) and Ignited via Laser

By consideration of unique properties of composite Al2O3-ZrO2 such as high toughness, high wear resistant and relative low thermal expansion, in this study, nanocomposite of Al2O3-ZrO2 was produced by Mechanical activated Self propagating High-temperature Synthesis (MASHS) using laser beam for ignition. First Al and ZrO2 powders were mixed in the mole ratio of 1:1 and milled for 1, 3 and 6 hour...

متن کامل

Grain Refinement of Dual Phase Steel via Tempering of Cold-Rolled Martensite

A microstructure consisting of ultrafine grained (UFG) ferrite with average grain size of ~ 0.7 µm and dispersed nano-sized carbides was produced by cold-rolling and tempering of the martensite starting microstructure in a low carbon steel. Subsequently, fine grained dual phase (DP) steel consisting of equiaxed ferrite grains with average size of ~ 5 µm and martensite islands with average size ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2014